package com.blockmeta.bbs.immodule.net.api;

import com.blockmeta.bbs.businesslibrary.net.pojo.BaseImResponse;

import io.reactivex.Flowable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author AirThor
 * @date 2019/4/4.
 * 处理代办
 */
public interface DealWithTodoApi {
    /**
     * @see "https://gitee.com/btc8/appserver/wikis/IM?sort_id=1348722#39-%E5%A4%84%E7%90%86%E4%BB%A3%E5%8A%9E-userdealwithtodo-get"
     * @param userId uid
     * @param todoId 事件ID
     * @param agreeOrNot 同意或者拒绝
     * @return
     */
    @GET("im/user/dealWithTodo")
    Flowable<BaseImResponse<Object>> dealWithTodo(@Query("userId") int userId, @Query("todoId") long todoId, @Query("argeeOrNot") boolean agreeOrNot
    ,@Query("handleMsg") String handleMsg);
}
